(function () {
    "use strict";

    var persons = [
        {
            firstName: 'Ivan',
            lastName: 'Petroff',
            age: 33
        },

        {
            firstName: 'Peter',
            lastName: 'Ivanoff',
            age: 22
        },

        {
            firstName: 'Maria',
            lastName: 'Harizanova',
            age: 21
        }
    ];

    function findYoungestPerson(personsArray) {
        var youngestAge = Number.MAX_VALUE,
            indexOfYoungestPerson = -1;

        for (var i = 0; i < personsArray.length; i++) {
            if (personsArray[i].age < youngestAge) {
                youngestAge = personsArray[i].age;
                indexOfYoungestPerson = i;
            }
        }

        return personsArray[indexOfYoungestPerson].firstName + " " + personsArray[indexOfYoungestPerson].lastName;
    }

    console.log(findYoungestPerson(persons));
}());